﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Ovvio.Web.Areas.Admin.Models.UserModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	User Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>User Details</h2>

    <fieldset>
        <legend>[<%= Html.Encode(Model.Username) %>]</legend>
        
        <div class="display-label">Username</div>
        <div class="display-field"><%= Html.Encode(Model.Username) %></div>
        
        <div class="display-label">Password</div>
        <div class="display-field"><%= Html.Encode(Model.Password) %></div>
        
        <div class="display-label">FirstName</div>
        <div class="display-field"><%= Html.Encode(Model.FirstName) %></div>
        
        <div class="display-label">LastName</div>
        <div class="display-field"><%= Html.Encode(Model.LastName) %></div>
        
        <div class="display-label">Mobile</div>
        <div class="display-field"><%= Html.Encode(Model.Mobile) %></div>
        
        <div class="display-label">Email</div>
        <div class="display-field"><%= Html.Encode(Model.Email) %></div>
        
        <div class="display-label">IsActive</div>
        <div class="display-field"><%= Html.CheckBox("Active", Model.IsActive, new { @disabled = true })%></div>
        
        <div class="display-label">Role</div>
        <div class="display-field"><%= Html.Encode(Model.RoleDisplay) %></div>
        
        <div class="display-label">IsNewsLetterSubscriber</div>
        <div class="display-field"><%= Html.CheckBox("CheckBoxSubscriber", Model.IsNewsLetterSubscriber, new { @disabled = true })%></div>
        
        <div class="display-label">Last Login</div>
        <div class="display-field"><%= Html.Encode(Model.LastLoginDate) %></div>
        
        <div class="display-label">Updated By</div>
        <div class="display-field"><%= Html.Encode(Model.UpdatedBy) %></div>
        
    </fieldset>
    <p>
        <%= Html.ActionLink("Edit", "Edit", new { id = Model.Id   })%> |
        <%= Html.ActionLink("Back to List", "Index") %>
    </p>

</asp:Content>

